import Layout from '@/layout/index.vue'

const asyncRoutes = [
  {
    path: '/divideDevice',
    name: 'DivideDevice',
    component: Layout,
    meta: {
      title: '分账管理',
      icon: 'nav-icon icon-account',
      resourceId: 'route:/web/profitShare-management/',
    },
    children: [
      {
        path: '/divideDevice/list',
        name: 'DivideDeviceList',
        component: () => import('@/views/divideDevice/index.vue'),
        meta: {
          title: '分账配置',
          resourceId:
            'route:/web/profitShare-management/profitShare-management/',
        },
      },
    ],
  },
]
export default asyncRoutes
